{include file="public/header" /}
<style>
    .layui-input-block{width: 50%}
</style>
<body>
<div class="x-body">
    <form action="{:url('save')}" class="layui-form" id="form">
        <input type="hidden" name="id" value="{$info.id}"/>
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-inline">
                <input type="text" name="title" value="{$info.title}" placeholder="请输入名称"  class="layui-input"/>
            </div>
        </div>
        {if $info.id >2}
        <div class="layui-form-item">
            <label class="layui-form-label">直推数量</label>
            <div class="layui-input-inline">
                <input type="text" name="zt_count" value="{$info.zt_count}" placeholder="请输入直推数量"  class="layui-input"/>
            </div>
        </div>
        {/if}
        {if $info.id <= 2}
        <div class="layui-form-item">
            <label class="layui-form-label">小区业绩</label>
            <div class="layui-input-inline">
                <input type="text" name="team_money" value="{$info.team_money}" placeholder="请输入小区业绩"  class="layui-input"/>
            </div>
        </div>
        {/if}
        <div class="layui-form-item">
            <label class="layui-form-label">奖励 </label>
            <div class="layui-input-inline">
                <input type="number" name="award" value="<?php echo round($info['award']*100,2)?>" placeholder="请输入奖励" class="layui-input"/>
            </div><div class="layui-form-mid layui-word-aux">%</div>
        </div>
        <div class="layui-form-item" style="text-align: center;">
            <button class="layui-btn" lay-filter="save" lay-submit formObj="#form">保存</button>
        </div>
    </form>
</div>
</body>
{include file="public/footer" /}
</html>